package com.yuantu.judiciary.service;

import com.alipay.easysdk.payment.common.models.AlipayTradeCreateResponse;
import com.yuantu.judiciary.model.api_ali.AlipayUserInfoShareResponseDTO;
import com.yuantu.judiciary.model.dto.AddOrderDTO;
import com.yuantu.judiciary.model.enums.EndpointType;

import javax.servlet.http.HttpServletRequest;
import java.util.LinkedHashMap;

/**
 * 支付宝小程序
 *
 * @author syw
 * @since 2023-12-20
 **/
public interface IAgentService {


    Integer getSearchTimesApplet(Long accountId);

    Integer getSearchTimesH5(Long accountId);

    Integer getUsedTimesH5(Long accountId);

    Integer getUsedTimesApplet(Long accountId);

    EndpointType currentUseSearchTimeEndpoint(Long accountId, EndpointType endpointType);

    String getOldestOrderTradeNo(Long accountId);
}
